package cn.tedu.pet.product.mapper;

import cn.tedu.pet.product.pojo.entity.Breed;
import cn.tedu.pet.product.pojo.entity.Pet;
import cn.tedu.pet.product.pojo.vo.PetListItemVO;
import cn.tedu.pet.product.pojo.vo.PetStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface PetMapper extends BaseMapper<Pet> {
    List<PetListItemVO> list();

    PetStandardVO getStandardById(Long id);


    int insertBatch(Breed[] pinzhongList);

    PetStandardVO getStandardByName(String name);
}
